package com.kingint.mbg.dto.rushHouse;

import com.baomidou.mybatisplus.annotation.TableField;
import com.kingint.mbg.group.Insert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class RushHouseBackParam implements Serializable {

    @ApiModelProperty(value = "清洁房间id")
    @TableField("room_id")
    @NotNull(groups = {Insert.class},message = "房间不能为空")
    private Integer roomId;

    @ApiModelProperty("房间号")
    @TableField(exist = false)
    private String roomNum;

    @ApiModelProperty(value = "清洁人员")
    @TableField("clean_user_id")
    @NotNull(groups = {Insert.class},message = "清洁人不能为空")
    private Long cleanUserId;

    @ApiModelProperty("清洁人")
    @TableField(exist = false)
    private String cleanUserName;

    @ApiModelProperty(value = "检查人员")
    @TableField("check_user_id")
    @NotNull(groups = {Insert.class},message = "检查人不能为空")
    private Long checkUserId;

    @TableField(exist = false)
    private String checkUserName;

    @ApiModelProperty(value = "10s未接单是否同步其他工作人员（0，是，1，否）")
    @TableField("is_sync")
    private Integer isSync;

    @TableField("id")
    private Integer id;

    @ApiModelProperty(value = "总工单id")
    @TableField("work_id")
    private Integer workId;

    @ApiModelProperty(value = "对应的工单状态（1,未指派(未接单)，2,处理中，3，待验收，4.挂起，5，完成，6，待确认（服务工单人员确认））")
    @TableField("order_status")
    private Integer orderStatus;

    @ApiModelProperty("工单编号")
    @TableField("order_sn")
    private String orderSn;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;
}
